<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>更改机构人员</title>
<script language="javascript" src="../include/dedeajax2.js"></script>
<script language='javascript' src='js/main.js'></script>
<link href='css/base.css' rel='stylesheet' type='text/css'>
<script language="javascript">
function checkSubmit()
{
	if(document.form1.username.value=="")
	{
		alert("姓名不能为空！");
		document.form1.username.focus();
		return false;
	}
	if(document.form1.pic.value=="")
	{
		alert("照片不能为空！");
		document.form1.picname.focus();
		return false;
	}
}

</script>
</head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D1DDAA">
<tr>
  <td height="28" background="images/tbg.gif">
  	&nbsp;<b><a href="project_main.php"><u>机构管理</u></a></b> &gt;&gt; 更改机构人员
  </td>
</tr>
<tr>
    <td height="200" bgcolor="#FFFFFF" valign="top">
	<table width="100%" border="0" cellspacing="4" cellpadding="4">
        <form action="project_edit.php" method="post" enctype="multipart/form-data" name="form1">
          <input type='hidden' name='aid' value='<?php echo $aid?>'>
          <input type='hidden' name='dopost' value='saveedit'>
          <tr> 
            <td width="15%" height="25" align="center">姓名：</td>
            <td colspan="2"><input name="username" type="text" id="username" size="30" value="<?php echo $row['username']?>" class='iptxt' /></td>
          </tr>
          <tr>
            <td height="25" align="center">机构分类：</td>
            <td colspan="2"><select name='typeid' style='width:150' id="typeid">
                <option value='0'>默认分类...</option>
                
          	<?php echo $option;?>
          
            </select></td>
          </tr>
          <tr> 
            <td align="center">照片：</td>
            <td width="76%">
			<input name="picname" id="picname" size="30"  value="<?php echo $row['pic']?>"/><input type="button" name="set3" value="浏览... "class="coolbg np" style="width:60px" onClick="SelectImage('form1.picname','small');" />
            </td>
            <td width="9%">&nbsp;</td>
          </tr>
		<tr> 
            <td width="15%" height="25" align="center">职务：</td>
            <td colspan="2"><input name="job" type="text" id="job" size="30" value="<?php echo $row['job']?>" class='iptxt' /></td>
          </tr>
		  <tr> 
            <td width="15%" height="25" align="center">主要工作：</td>
            <td colspan="2"><textarea name="mainjob" type="text" id="mainjob" style="width:500px;"><?php echo $row['mainjob']?></textarea></td>
          </tr>
		  <tr> 
            <td width="15%" height="25" align="center">办公地点：</td>
            <td colspan="2"><input name="address" type="text" id="address" size="30" value="<?php echo $row['address']?>" class='iptxt' /></td>
          </tr>
		  <tr> 
            <td width="15%" height="25" align="center">联系方式：</td>
            <td colspan="2"><input name="linkus" type="text" id="linkus" size="30" value="<?php echo $row['linkus']?>" class='iptxt' /></td>
          </tr>
		  
		  
		  
          <tr>
            <td width="15%" height="25" align="center">排序：</td>
            <td colspan="2"><input name="orderid" type="text" id="orderid" onKeyUp="this.value=this.value.replace(/\D/g,'')" value="<?php echo $row['orderid']?>" size="8" onafterpaste="this.value=this.value.replace(/\D/g,'')"  /></td>
          </tr>
          <tr> 
            <td height="53" align="center">&nbsp;</td>
            <td colspan="2">
            <input name="imageField" type="image" src="images/button_ok.gif" width="60" height="22" border="0"></td>
          </tr>
        </form>
      </table>
	 </td>
</tr>
</table>
</body>
</html>